package com.example.petproject.entity;

import io.swagger.v3.oas.annotations.media.Schema;

import java.util.List;

/**
 * 包名称：com.example.petproject.entity
 * 类名称：spu
 * 类描述：查看商品详细的spu对象
 * 创建人：@author DrinkMore-HotWater
 * 创建时间：2024年01月13日 14:15
 **/
@Schema(name = "查看商品详细的spu对象", description = "查看商品详细的spu对象")
public class DetailSpu {
    @Schema(description = "商品spuId")
    private Integer id;
    @Schema(description = "商品副标题")
    private String subTitle;
    @Schema(description = "商品总销量")
    private Integer sale;
    @Schema(description = "评价总评分")
    private Integer commentTotalScore;
    @Schema(description = "商品评价数量")
    private Integer commentAmount;
    @Schema(description = "商品规格（json格式，用于商品详细展示商品所有规格）")
    private String productSpecification;
    @Schema(description = "商品详细图片列表")
    private List<DetailProductDetailPicList> productDetailPicList;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle;
    }

    public Integer getSale() {
        return sale;
    }

    public void setSale(Integer sale) {
        this.sale = sale;
    }

    public Integer getCommentTotalScore() {
        return commentTotalScore;
    }

    public void setCommentTotalScore(Integer commentTotalScore) {
        this.commentTotalScore = commentTotalScore;
    }

    public Integer getCommentAmount() {
        return commentAmount;
    }

    public void setCommentAmount(Integer commentAmount) {
        this.commentAmount = commentAmount;
    }

    public String getProductSpecification() {
        return productSpecification;
    }

    public void setProductSpecification(String productSpecification) {
        this.productSpecification = productSpecification;
    }

    public List<DetailProductDetailPicList> getProductDetailPicList() {
        return productDetailPicList;
    }

    public void setProductDetailPicList(List<DetailProductDetailPicList> productDetailPicList) {
        this.productDetailPicList = productDetailPicList;
    }
}
